using trig to find the missing side of a right triangle